package com.landian.springdata.demo.impl.converter;

import com.landian.commons.base.converter.Convert;
import com.landian.commons.base.converter.ConvertBuilder;
import com.landian.springdata.demo.api.vo.ProductInfo;
import com.landian.springdata.demo.impl.entity.ProductInfoEntity;

/**
 *
 * @author caojl*/
public class ProductInfoConverter {

    public static Convert<ProductInfo,ProductInfoEntity> entity = ConvertBuilder.build(ProductInfo.class,ProductInfoEntity.class);

    public static Convert<ProductInfoEntity, ProductInfo> vo = ConvertBuilder.build(ProductInfoEntity.class,ProductInfo.class);

}
